import type { RouteRecordRaw } from "vue-router";
import type { CategoryData } from "@/api/product/attr/type";
//定义仓库的数据类型
export interface UserState {
  token: string | null;
  menuRoutes: RouteRecordRaw[]; //菜单路由的类型
  username: string;
  avatar: string;
}
//定义商品分类数据的类型
export interface CategoryState {
  c1Arr: CategoryData[];
  c1Id: number | string;
  c2Arr: CategoryData[];
  c2Id: number | string;
  c3Arr: CategoryData[];
  c3Id: number | string;
}
